<template>
	<view class="box">
		<image  :src="listss.images"></image>
		<view class="name">{{listss.title}}</view>
		<view class="tit" v-html="listss.content"></view>
		
		<view class="u-flex u-row-between info-head u-p-y-20">
			<view class="info-title">联系我</view>
			</view>
		<view>
			
		<view class="user-list u-flex u-row-between">
			<text class="list-name">{{listss.phone}}</text>
			<view class="u-flex">
				<text class="u-iconfont uicon-phone u-m-l-20" style="color:#999;"></text>
			</view>
		</view>
		<view class="user-list u-flex u-row-between">
			<text class="list-name">{{listss.email}}</text>
			<view class="u-flex">
				<text class="u-iconfont uicon-email u-m-l-20" style="color:#999;"></text>
			</view>
		</view>
		<view class="user-list u-flex u-row-between">
			<text class="list-name">{{listss.address}}</text>
			<view class="u-flex">
				<text class="u-iconfont uicon-account u-m-l-20" style="color:#999;"></text>
			</view>
		</view>
		<view class="user-list u-flex u-row-between">
			<text class="list-name">{{listss.weixin}}</text>
			<view class="u-flex">
				<text class="u-iconfont uicon-weixin-fill u-m-l-20" style="color:#999;"></text>
			</view>
		</view>
		
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				listss:''
			}
		},
		onLoad(e) {
			this.id = e.from
			console.log(e, "值")
			this.lvshis()
			// jijijijij
			// 52554455
		},
		methods: {
			lvshis() {
				this.$http('addons.article_lawyer_detail', {
					id: this.id,
				}).then(res => {
					console.log(res.data, "详情")
					if (res.code === 1) {
						this.listss = res.data[0]
					}
				});
			},
		}
	}
</script>

<style lang="scss" scoped>
	
	.user-list {
		
		background: #fff;
		height: 100rpx;
		border-bottom: 1rpx solid #f6f6f6;
		padding: 0 20rpx;
		.list-name {
			font-size: 28rpx;
		}
		.avatar {
			width: 67rpx;
			height: 67rpx;
			border-radius: 50%;
		}
		.list-val {
			color: #999;
			font-size: 28rpx;
			text-align: right;
		}
	}
	
	
	.box{
		padding: 100rpx 30rpx;
		text-align: center;
		image{
			width: 400rpx;
			height: 400rpx;
			border-radius: 50%;
		}
		.name{
			font-size: 38rpx;
			font-weight: bold;
			margin-top: 40rpx;
			margin-bottom: 40rpx;
		}
		.tit{
			font-size: 36rpx;
			margin: auto;
			width: 600rpx;
		}
		
	}

</style>
